use serde::{Deserialize, Serialize};

#[derive(Debug, Serialize, Deserialize, Clone)]
pub struct CpVideoMessage {
    #[serde(rename = "FromUserName")]
    pub source: String,
    #[serde(rename = "ToUserName")]
    pub target: String,
    #[serde(rename = "CreateTime")]
    pub create_time: i64,
    #[serde(rename = "MsgId")]
    pub id: i64,
    #[serde(rename = "MediaId")]
    pub media_id: String,
    #[serde(rename = "ThumbMediaId")]
    pub thumb_media_id: String,
    #[serde(rename = "AgentID")]
    pub agent_id: i64,
}
